<?php
namespace catchAdmin\registration\request;

use catcher\base\CatchRequest;

class PushRequest extends CatchRequest
{
    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'projectId|问卷ID' => 'require',
            'putChanel|渠道模板' => 'require',
            'patientList|患者' => 'require',
            'template_id|短信模板' => 'require'
        ];
    }

    protected function message(): array
    {
        return [
            'projectId.require' => '缺少问卷ID',
            'putChanel.require' => '缺少渠道模板',
            'patientList.require' => '缺少患者',
            'template_id.require' => '缺少短信模板'
        ];
    }
}